

class Vector:
    def __init__(self,x,y):
        self.x = x
        self.y = y
    @staticmethod
    def left():
        return Vector(0,-1)

    @staticmethod
    def right():
        return Vector(0, 1)

    @staticmethod
    def up():
        return Vector(-1, 0)

    @staticmethod
    def down():
        return Vector(1, 0)

class Doublist:
    @classmethod
    def run(cls,target,vec_pos,vec_dir,num):
        '''

        :param target: libiao
        :param postion:
        :param vec:
        :param num:
        :return:
        '''
        for i in range(num):
            vec_pos.x += vec_dir.x
            vec_pos.y += vec_dir.y
        res  = target[vec_pos.x][vec_pos.y]
        print(res)
        return res


list1 = [
    ["01","02","03"],
    ["11","12","13"],
    ["21","22","23"],
]

if __name__ == '__main__':
    D = Doublist()
    D.run(list1,Vector(1,2),Vector.down(),1)